package com.wz.pojo;

import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.math.BigInteger;

/**
 * @program: demo
 * @description: 交易
 * @author: Wangzheng
 * @create: 2020-12-22 19:53
 **/
@Component
@Data
@ToString
@Accessors(chain = true)
public class Transaction implements Serializable {
	private Integer id;
	private String hash;
	private BigInteger nonce;
	private String blockHash;
	private BigInteger blockNumber;
	private BigInteger transactionIndex;
	private String fromAdd;
	private String toAdd;
	private BigInteger value;
	private BigInteger gasPrice;
	private BigInteger Gas;
	private BigInteger gasUsed;
	private String contractAddress;
	private String status;
	private BigInteger gasLimit;
	private Integer kind;
	
	
}